import { Controller, Get } from '@nestjs/common';
import { CacheService } from './cache.service';

@Controller()
export class CacheController {
    constructor(private readonly cacheService: CacheService) {}

    @Get('/asd')
    getHello() : string  {
        let a= this.cacheService.get('ss');
        console.log(a)
        return '123';
    }
}